import { createApp } from 'vue'
// import { createPinia } from 'pinia'
import 'element-plus/dist/index.css'
import electionIcon from '@/plugins/element.js'
import App from './App.vue'
import router from './router'
import '@/styles/main.scss'
import pinia from './plugins/pinia'
import '@/components/index.js'
function initApp() {
  const app = createApp(App)
  // app.use(createPinia())
  app.use(pinia)
  app.use(router)
  // app.use(ElementPlus)
  app.use(electionIcon)

  app.mount('#app')
}
initApp()
